package com.kkb.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Behospital {
    private Integer behId;

    private String hosrRecode;

    private String dKeshi;

    private String dName;

    private String behNursepeople;

    private String behPatbed;

    private Float behAntecedent;

    private String behIllness;

    private Integer behCloseprice;

    private Integer behState;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date behTime;
    private Hosregister hosregister;//封装挂号信息：一对一关系

    public Hosregister getHosregister() {
        return hosregister;
    }

    public void setHosregister(Hosregister hosregister) {
        this.hosregister = hosregister;
    }

    public Integer getBehId() {
        return behId;
    }

    public void setBehId(Integer behId) {
        this.behId = behId;
    }

    public String getHosrRecode() {
        return hosrRecode;
    }

    public void setHosrRecode(String hosrRecode) {
        this.hosrRecode = hosrRecode == null ? null : hosrRecode.trim();
    }

    public String getdKeshi() {
        return dKeshi;
    }

    public void setdKeshi(String dKeshi) {
        this.dKeshi = dKeshi == null ? null : dKeshi.trim();
    }

    public String getdName() {
        return dName;
    }

    public void setdName(String dName) {
        this.dName = dName == null ? null : dName.trim();
    }

    public String getBehNursepeople() {
        return behNursepeople;
    }

    public void setBehNursepeople(String behNursepeople) {
        this.behNursepeople = behNursepeople == null ? null : behNursepeople.trim();
    }

    public String getBehPatbed() {
        return behPatbed;
    }

    public void setBehPatbed(String behPatbed) {
        this.behPatbed = behPatbed == null ? null : behPatbed.trim();
    }

    public Float getBehAntecedent() {
        return behAntecedent;
    }

    public void setBehAntecedent(Float behAntecedent) {
        this.behAntecedent = behAntecedent;
    }

    public String getBehIllness() {
        return behIllness;
    }

    public void setBehIllness(String behIllness) {
        this.behIllness = behIllness == null ? null : behIllness.trim();
    }

    public Integer getBehCloseprice() {
        return behCloseprice;
    }

    public void setBehCloseprice(Integer behCloseprice) {
        this.behCloseprice = behCloseprice;
    }

    public Integer getBehState() {
        return behState;
    }

    public void setBehState(Integer behState) {
        this.behState = behState;
    }

    public Date getBehTime() {
        return behTime;
    }

    public void setBehTime(Date behTime) {
        this.behTime = behTime;
    }
}